package com.linzp.bishe.model;

import com.linzp.bishe.entity.Participants;
import com.linzp.bishe.entity.ResearchAchievements;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @ClassName ResearchAchievementsModel
 * @Description 描述
 * @Author LinZePeng
 * @Date 2022/2/8 15:46
 * @Version 1.0
 */
@Data
public class ResearchAchievementsModel {
	private Integer id;

	private String awardName;

	private String achievementName;

	private String certificateNumber;

	private String sources;

	private String achievementLevel;

	private String grade;

	private LocalDateTime awardTime;

	private String inputPeople;

	private Boolean completionCompany;

	private Boolean unitInCharge;

	private Integer rankingCompany;

	private String supportingMaterials;

	private String status;

	private Integer userId;

	private List<Participants> participants;

	public ResearchAchievements getResearchAchievements(){
		return new ResearchAchievements(id,awardName,achievementName,certificateNumber,
				sources,achievementLevel,grade,awardTime,inputPeople,completionCompany,
				unitInCharge,rankingCompany,supportingMaterials,status,userId);
	}
}
